// item selection
$('#ss').click(function () {
  $(this).toggleClass('selected');
  counter();
});